package com.xzhuang.consumer;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class CustomServletContextListener implements ServletContextListener{

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		System.out.println("队列监听开始...............");
//		QueueListener.listerQueues();
//		QueueListener.listerQueues2();
//		QueueListener.listerQueues3();
		QueueListener.listerQueues4();
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {}

}
